package com.xunsiya.service.system.impl;

import com.xunsiya.service.system.DictService;
import com.xunsiya.system.dao.DictMapper;
import com.xunsiya.system.vo.Dict;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 字典Service实现
 *
 * @author panjun
 * @version 1.0
 *          <p>
 *          <p>修订人		修订时间			描述信息
 *          <p>-----------------------------------------------------
 *          <p>panjun		2018/11/5		初始创建
 */
@Service("dictService")
public class DictServiceImpl implements DictService {

    @Autowired
    private DictMapper dictMapper;

    /**
     * 查询所有字典
     * @return
     */
    @Override
    public List<Dict> findAll() {
        return dictMapper.findAll();
    }
}
